package com.lancoo.ccas52.service;

import com.lancoo.ccas52.entity.CollegeDealTime;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lancoo.ccas52.pojo.vo.DealTimeInput;

/**
 * <p>
 * 院系管理员各个流程处理时间段 服务类
 * </p>
 *
 * @author quin.song
 * @since 2022-12-30
 */
public interface CollegeDealTimeService extends IService<CollegeDealTime> {


    /**
     * 添加学院处理时间
     * @param dealTimeInput
     * @return
     */
    CollegeDealTime addOrUpdateDealTime(DealTimeInput dealTimeInput);

    /**
     * 获取开课单位处理时间
     * @param taskId
     * @param type
     * @return
     */
    CollegeDealTime getDealTime(Integer taskId, Integer type);

}
